package com.acs.attestation.util;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.List;

/**
 * @author 杰
 * @Description:
 * @date 2021/1/26 14:28
 */
public class DateUtil {
    //获取当前时间
    public static String getDateTime() {
        Date datetime = new Date();
        SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String format = dateFormat.format(datetime);
        return format;
    }

}
